<!--
<h1>Listing equipment</h1>

<table>
  <tr>
    <th>设备名称</th>
    <th>设备类型</th>
    <th>设备图片</th>
    <th>设备说明</th>
  </tr>
  
<% for equipment in @equipment %>
  <tr>
    <td><%=h equipment.name %></td>
    <td><%=h equipment.etype %></td>
    <td><%=h equipment.image_url %></td>
    <td><%=h equipment.description %></td>
    <td><%= link_to 'Show', equipment_item_path(equipment) %></td>
    <td><%= link_to 'Edit', edit_equipment_item_path(equipment) %></td>
    <td><%= link_to 'Destroy', equipment_item_path(equipment), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />
-->

<%= render :partial => 'equipment', :collection => @equipment %>
<%= link_to '新增设备', new_equipment_item_path %>


